package com.lab303.powerproject.entity;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity(name = "temperature")
public class Temperature implements Serializable {

    @Id
    @Column(name = "temperature_id")
    private String temperatureId;


    @Column(name = "time")
    private Date time;

    @Column(name = "temperature_data")
    private String temperatureData;

    public Temperature() {
    }

    public String getTemperatureId() {
        return temperatureId;
    }

    public void setTemperatureId(String temperatureId) {
        this.temperatureId = temperatureId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getTemperatureData() {
        return temperatureData;
    }

    public void setTemperatureData(String temperatureData) {
        this.temperatureData = temperatureData;
    }
}
